﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReturnReason.aspx.cs" Inherits="Workflow.ReturnReason" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="../Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="../Css/style.css" />
    <script type="text/javascript" src="../Js/jquery.js"></script>
    <script type="text/javascript" src="../Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="../Js/bootstrap.js"></script>
    <script type="text/javascript" src="../Js/ckform.js"></script>
    <script type="text/javascript" src="../Js/common.js"></script>

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table class="table table-bordered table-hover definewidth m10">
            <tr>
                <td class="tableleft">退回原因</td>
                <td><asp:TextBox ID="txtReturnReason" runat="server" Rows="3" Height="60px" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tableleft"></td>
                <td><asp:Button ID="btnReturn" CssClass="btn btn-primary" runat="server" Text="提交" OnClientClick="return Validate()" OnClick="btnReturn_Click" /></td>
            </tr>
        </table>
    </div>
    </form>
     <script type="text/javascript">
         function Validate() {
             if ($("#txtReturnReason").val().trim().length == 0) {
                 alert('退回理由不能为空');
                 return false;
             }
         }
    </script>
</body>
</html>
